#pragma once
#include "../../Common/Singleton.h"

class Font;

class CConsole : public Singleton<CConsole>
{
	struct sData
	{
		LONG m_lPos[ 2 ];
		std::string m_strContext;
	};

	Font* m_pConsoleFont;

	std::vector< sData >	m_vecConsoleString;
public:
	void Init();
	void UnInit();
	void Update( const float& fTime );
	void Render();

	void WriteToScreen( const LONG& uPosX, const LONG& uPosY, const char* pFormat, ... );
	void WriteToLogFile( const char* pFormat, ... );
	void ClearFile( const char* pFileName );
public:
	CConsole(void);
	~CConsole(void);
};
